package com.bb.blog.activiti.feign;

import com.bb.blog.activiti.domain.param.StartProcessParam;
import com.bb.blog.web.model.CommonResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

@FeignClient(name = "activiti")
public interface ProcessActionClient {
    @RequestMapping(value = "/action/startProcessById", method = RequestMethod.POST )
    CommonResponse startProcessById(@RequestBody StartProcessParam param);

}
